package com.hzgj.bcl.util.jmx.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

@Documented
@Retention(value = RUNTIME)
@Target(value = {METHOD, ElementType.FIELD})
public @interface ManagedAttribute {
    boolean readable() default true;

    boolean writable() default false;

    String description() default "";

    String name() default "";

}
